
class Complex {
private:
double real; //atribute
double imag; //atribute
public:
Complex (); //Constructor implicit
Complex(double real, double imag); //Constructor explicit
//Complex(Complex& c);
//~Complex(); //destructor
double getReal(); //accesor
double getImag();
void setReal(double re); //modificator
void setImag(double im);
Complex operator+(Complex c);
Complex operator+(double d);
Complex operator-(Complex c);
Complex operator-(double d);
Complex operator*(Complex c);
Complex operator*(double d);
Complex operator/(Complex c);
Complex operator/(double d);
Complex operator^(double d); 
Complex sqrt();
Complex rt(int g); //radacina de gradul g
bool operator<(Complex c);
bool operator<(double d);
bool operator<=(Complex c);
bool operator<=(double d);
bool operator=(Complex c);
bool operator=(double d);
bool operator>=(Complex c);
bool operator>=(double d);
bool operator>(Complex c);
bool operator>(double d);
Complex operator++();
Complex operator--();
};


